/**
 * Created by IntelliJ IDEA.
 * User: Tomek
 * Date: 11.10.12
 * Time: 23:40
 * To change this template use File | Settings | File Templates.
 */
package fossilgeom {
public class ArrowStyle {


    public var headWidth:Number=-1; //Relative width of arrow head

    /**
     *
     * Not used in drawArrowHead because the length is
     * determined by the points passed in
     *
     */
    public var headLength:Number=10; //Pixel Length of arrow head


    public var shaftThickness:Number=2;
    public var shaftPosition:Number=0;

    /**
     *  Not used in drawArrow, only drawArrowHead
     *     This let's you curve the line at the base of the arrow
     */
    public var shaftControlPosition:Number=.5;
    /**
     * Not used in drawArrow, only drawArrowHead
     * This let's you curve the line at the base of the arrow
     */
    public var shaftControlSize:Number=.5;


    public var edgeControlPosition:Number=.5;
    public var edgeControlSize:Number=.5;

    public function ArrowStyle(presets:Object=null) {
        if (presets != null) {
            for (var name:String in presets) {
                this[name] = presets[name];
            }
        }
    }
}
}
